import request from '@/utils/request'
import { projectApiUrl } from './config'

// 业务查询，数据筛选弹窗

// 列表
export const businessQueryList = (params) => {
  return request({
    url: `${projectApiUrl}/businessquery/findList`,
    method: 'post',
    data: params
  })
}

// 树形
export const businessQueryTreeList = (params) => {
  return request({
    url: `${projectApiUrl}/businessquery/findTreeList/${params.orgId}`,
    method: 'get',
  })
}